cody - HTMLify profile

cody
4270 Files
636145 Views
Latest files of /cody/swapnilsparsh/30DaysOfJavaScript/64 - Photo Editor
#imageEditor {
margin:auto;
padding:20px;
border:1px solid #4b4b4b;
-moz-border-radius:8px;
-webkit-border-radius:8px;
border-radius:8px;
background-color:#ababab;
margin:auto;
padding:20px;
border:1px solid #4b4b4b;
-moz-border-radius:8px;
-webkit-border-radius:8px;
border-radius:8px;
background-color:#ababab;
html,
body {
height: 100%;
}
.text_box {
margin-top: 50px;
width: 100%;
body {
height: 100%;
}
.text_box {
margin-top: 50px;
width: 100%;
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css"
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css"
onload = function () {
const editor = document.getElementById("editor");
const context = editor.getContext("2d");
const toolbar = document.getElementById("toolbar");
const tools = {
"upload" : function () {
const upload = document.createElement('input');
const editor = document.getElementById("editor");
const context = editor.getContext("2d");
const toolbar = document.getElementById("toolbar");
const tools = {
"upload" : function () {
const upload = document.createElement('input');